package com.tosit.driverschool.dao;

import com.tosit.driverschool.common.entity.ProblemSet;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProblemSetMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProblemSet record);

    int insertSelective(ProblemSet record);

    ProblemSet selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProblemSet record);

    int updateByPrimaryKey(ProblemSet record);

    List<ProblemSet> findAll(Integer typeId);
}